<template>
	<view class="f-col r-center m-top-20">
		<u-form class="form-view" :model="form" ref="uForm">
			<u-form-item label="1.名字" prop="name" label-position="top">
				<u-input v-model="form.name" />
			</u-form-item>
			<u-form-item  label="2.图片" prop="image" label-position="top">
				<u-upload
				  :action="action"
				  :max-count="1"
				  @on-success="onSuccess"
				  @on-remove="onRemove"
				></u-upload>
			</u-form-item>
			<u-form-item label="3.内容" prop="content" label-position="top">
				<u-input v-model="form.content" />
			</u-form-item>
		</u-form>
		<sign-template-bottom-cpnt></sign-template-bottom-cpnt>
	</view>
</template>

<script>
	import SignTemplateBottomCpnt from '@/components/signTemplateBottomCpnt.vue';
export default {
	data() {
		return {
			form: {
				name: "",
				content: ""
			},
			action:""
		};
	},
	components: {
		SignTemplateBottomCpnt
	},
	onLoad(item) {
		
	},
	methods: {

	},
}
</script>

<style lang="scss" scoped>
	@import "@/static/css/app.scss";
	.form-view{
		width: 710rpx;
	}
	.text-title{
		font-size: 30rpx;
		font-weight: 500;
		
	}
	.m-top-20{
		margin-top: 20rpx;
	}
</style>